package com.wsd.jing.vo;

import com.wsd.jing.entity.User;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 * All rights Reserved, Designed By www.tom.com
 *
 * @author tom
 * @version 1.0.0
 * @projectName: jing
 * @packageName: com.wsd.jing.vo
 * @className: UserVO
 * @description 用户VO
 * @createDate 2022/12/1 11:51
 * @copyright 2022/12/1 11:51 www.tom.com Inc. All rights reserved.
 */
@Getter
@Setter
@ToString
@ApiModel(value = "UserVO对象", description = "用户对象")
public class UserVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户信息")
    private User user;

    @ApiModelProperty("用户角色信息")
    private List<Integer> roles;

    @ApiModelProperty("用户职位信息")
    private List<Integer> posts;
}
